package com.jiangjiang.eshop.common.json;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

/**
 * @Author Jianghaowen
 * @Date 2021/9/23
 * @Description: JSON 解析上下文
 * @Version V1.0
 **/
@Data
public class JsonExpressionContext {
    /**
     * 目标json
     */
    private JSONObject targetJson;

    /**
     * 当前节点
     */
    private JSONObject currentJsonNode;

    public JsonExpressionContext(JSONObject targetJson) {
        this.targetJson = targetJson;
    }
}
